package com.curve;

import com.lordor.security.Account;

import java.util.Date;

/**
 * User: lyj
 * Date: 2011-11-29
 * Time: 14:32:06
 * @hibernate.class table="curve_UserCurve" dynamic-update="true"
 * dynamic-insert="true"
 */
public class UserCurve extends SystemCurveBean{
    private Account user;
    private Date createDate;
    private String title;
    private boolean valid=true;
    private int a=0;
    private int b=0;
    private double c=0;


    public UserCurve() {
         createDate=new Date();
    }

    /**
     * @return
     * @hibernate.many-to-one class="com.lordor.security.Account"
     * @hibernate.column name="userId" index="UserCurve_user"
     */
    public Account getUser() {
        return user;
    }

    public void setUser(Account user) {
        this.user = user;
    }
    /**
     * @hibernate.property  not-null="true"  index="UserCurve_createDate"
     * @return
     */
    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @hibernate.property 
     * @return
     */
    public boolean isValid() {
        return valid;
    }

    public void setValid(boolean valid) {
        this.valid = valid;
    }

    /**
     * @hibernate.property
     * @return
     */
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    /* *//**
     * @hibernate.property
     * @return
     *//*
    public int getA() {
        return a;                                                                                                 
    }

    public void setA(int a) {
        this.a = a;
    }
     *//**
     * @hibernate.property
     * @return
     *//*
    public int getB() {
        return b;
    }

    public void setB(int b) {
        this.b = b;
    }
    *//**
     * @hibernate.property
     * @return
     *//*
    public double getC() {
        return c;
    }

    public void setC(double c) {
        this.c = c;
    }*/
}
